9.8
CRITICAL CVSS 3.0
CVE-2017-16510
WordPress SQL Injection Vulnerability
Description

WordPress before 4.8.3 is affected by an issue where $wpdb->prepare() can create unexpected and unsafe queries leading to potential SQL injection (SQLi) in plugins and themes, as demonstrated by a "double prepare" approach, a different vulnerability than CVE-2017-14723.

INFO

Published Date :

Nov. 2, 2017, 4:29 p.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2017-16510 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Wordpress wordpress
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.0 CRITICAL [email protected]
Solution
The WordPress installation is affected by an SQL injection vulnerability.
  • Upgrade WordPress to version 4.8.3 or later.
  • Upgrade the wordpress and wordpress-l10n packages.
Public PoC/Exploit Available at Github

CVE-2017-16510 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-16510.

URL Resource
http://www.securityfocus.com/bid/101638 Third Party Advisory VDB Entry
https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html Issue Tracking Third Party Advisory
https://codex.wordpress.org/Version_4.8.3 Issue Tracking Vendor Advisory
https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2017/11/msg00003.html
https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/ Issue Tracking Vendor Advisory
https://wpvulndb.com/vulnerabilities/8941 Issue Tracking Vendor Advisory
https://www.debian.org/security/2018/dsa-4090
http://www.securityfocus.com/bid/101638 Third Party Advisory VDB Entry
https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html Issue Tracking Third Party Advisory
https://codex.wordpress.org/Version_4.8.3 Issue Tracking Vendor Advisory
https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d Issue Tracking Patch Vendor Advisory
https://lists.debian.org/debian-lts-announce/2017/11/msg00003.html
https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/ Issue Tracking Vendor Advisory
https://wpvulndb.com/vulnerabilities/8941 Issue Tracking Vendor Advisory
https://www.debian.org/security/2018/dsa-4090
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-16510 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

WordPress Pen Testing

Updated: 2 months, 3 weeks ago
5 stars 0 fork 0 watcher
Born at : Oct. 23, 2022, 8:42 p.m. This repo has been linked 100 different CVEs too.

Documentation for TAMUSA CSCI 4349.

penetration-testing

Python Shell PHP Batchfile CSS JavaScript HTML Smarty Pascal C++

Updated: 2 years, 5 months ago
3 stars 1 fork 1 watcher
Born at : Nov. 16, 2018, 4:57 a.m. This repo has been linked 24 different CVEs too.

Revised

Updated: 7 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 7, 2018, 7:17 p.m. This repo has been linked 6 different CVEs too.

Cybersecurity University - Assignment (Week 7)

Updated: 7 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : June 5, 2018, 5:18 a.m. This repo has been linked 6 different CVEs too.

None

Updated: 7 years, 3 months ago
0 stars 0 fork 0 watcher
Born at : May 11, 2018, 1:09 a.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-16510 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-16510 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/101638
    Added Reference https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html
    Added Reference https://codex.wordpress.org/Version_4.8.3
    Added Reference https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d
    Added Reference https://lists.debian.org/debian-lts-announce/2017/11/msg00003.html
    Added Reference https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/
    Added Reference https://wpvulndb.com/vulnerabilities/8941
    Added Reference https://www.debian.org/security/2018/dsa-4090
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 04, 2018

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2017/11/msg00003.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 18, 2018

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2018/dsa-4090 [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 22, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://wpvulndb.com/vulnerabilities/8941 No Types Assigned https://wpvulndb.com/vulnerabilities/8941 Issue Tracking, Vendor Advisory
    Changed Reference Type https://codex.wordpress.org/Version_4.8.3 No Types Assigned https://codex.wordpress.org/Version_4.8.3 Issue Tracking, Vendor Advisory
    Changed Reference Type https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html No Types Assigned https://blog.ircmaxell.com/2017/10/disclosure-wordpress-wpdb-sql-injection-technical.html Issue Tracking, Third Party Advisory
    Changed Reference Type https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/ No Types Assigned https://wordpress.org/news/2017/10/wordpress-4-8-3-security-release/ Issue Tracking, Vendor Advisory
    Changed Reference Type https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d No Types Assigned https://github.com/WordPress/WordPress/commit/a2693fd8602e3263b5925b9d799ddd577202167d Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type http://www.securityfocus.com/bid/101638 No Types Assigned http://www.securityfocus.com/bid/101638 Third Party Advisory, VDB Entry
    Added CWE CWE-89
    Added CPE Configuration OR *cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions up to (including) 4.8.2
  • CVE Modified by [email protected]

    Nov. 11, 2017

    Action Type Old Value New Value
    Added Reference https://wpvulndb.com/vulnerabilities/8941 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 06, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/101638 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.42 }} -1.34%

score

0.84621

percentile